from django.contrib import admin
from tracadmin.models import Repository, SVNPerm

class SVNPermInline(admin.TabularInline):
    model = SVNPerm
    extra = 3

class RepositoryAdmin(admin.ModelAdmin):
    inlines = (SVNPermInline,)

admin.site.register(Repository, RepositoryAdmin)
